package top.chmin.project.cloud.sys.relate.info;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.PostMapping;
import lombok.experimental.Accessors;
import lombok.Setter;
import lombok.Getter;


/**
 * chmin
 * 2024-01-26 14:02:31
 * cloud-code
 */
public interface RelateInfoUpdateRest {

    @PostMapping("/cloud-code/relateInfo/auto/update")
    int update(@RequestBody P p);

    @Getter
    @Setter
    @Accessors(chain = true)
    class P {
        private Integer id;
        /*###########auto#start###########*/
        // column编号
        private String columnCode;
        // 源字段编码
        private String sourceColumnCode;
        /*###########auto##end############*/
        /* append $modelFieldAppender$ */
    }

}
